Skip to content

perf(tests): shorten list blocking timeout cases#3539

Open
Tangruilin wants to merge 2 commits into
apache:unstablefrom
Tangruilin:perf#3529
Open

perf(tests): shorten list blocking timeout cases#3539
Tangruilin wants to merge 2 commits into
apache:unstablefrom
Tangruilin:perf#3529

Conversation

@Tangruilin

@Tangruilin Tangruilin commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

fix #3529

Assisted-by: Codex/GPT-5

@Tangruilin Tangruilin closed this Jun 25, 2026
@Tangruilin Tangruilin reopened this Jun 25, 2026
@Tangruilin

Tangruilin commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

before:
image

after:
image

from 57s to 44s

@Tangruilin

Copy link
Copy Markdown
Contributor Author

before:
Uploading image.png…
after:
Uploading image.png…

from 57s to 44s

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reduces the runtime of the Go list unit test suite by shortening blocking-command timeout cases, addressing the “list test cost 49s” motivation from issue #3529.

Changes:

  • Introduces a shared short blocking timeout constant for list blocking-timeout cases.
  • Updates BLPOP/BRPOP and BLMPOP timeout-only test cases to use the shorter timeout value.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/gocase/unit/type/list/list_test.go Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(go): optimize list test execution time

3 participants